﻿Imports DAL

Public Class frmMenuPrincipal

    Private context As New CarpeDiemDataContext
    Private Sub btnLogo_Click(sender As System.Object, e As System.EventArgs) Handles btnLogo.Click
        Process.Start("http://alzheimercarpediem.com/")
    End Sub

    Private Sub btnQuitter_Click(sender As System.Object, e As System.EventArgs) Handles btnQuitter.Click
        Application.Exit()
    End Sub

    Private Sub btnMembresPersonnel_Click(sender As System.Object, e As System.EventArgs) Handles btnMembresPersonnel.Click
        frmListMembrePersonnel.Show()
    End Sub

    Private Sub btnBeneficiaires_Click(sender As System.Object, e As System.EventArgs) Handles btnBeneficiaires.Click
        frmListBeneficiaire.Show()
    End Sub

    Private Sub btnDisponibilites_Click(sender As System.Object, e As System.EventArgs) Handles btnDisponibilites.Click
        frmHoraireDisponibilite.Show()
    End Sub

    Private Sub btnHoraires_Click(sender As System.Object, e As System.EventArgs) Handles btnHoraires.Click
        frmHoraire.Show()
    End Sub

    Private Sub btnParametres_Click(sender As System.Object, e As System.EventArgs) Handles btnParametres.Click
        frmParametre.ShowDialog()
    End Sub

    Private Sub btnComptes_Click(sender As System.Object, e As System.EventArgs) Handles btnComptes.Click
        frmListCompte.ShowDialog()
    End Sub
End Class